{% extends "agm1.0/base.html" %}
{%- block body %}
        <section id="fwquery1" wechatsignused data-role="page" data-add-back-btn="true" class="ui-body-d">
            <header data-role="header" data-position="fixed">
                <h3>{{ _t('正品查询', 'Authentication')}}</h3>
            </header>
             <div class="head_pic"><img src="/static/images/tu1.jpg"></div>    
            <div data-role="content">
                <div>
                    {% if request.headers.get('User-Agent') and 'MicroMessenger/' in request.headers.get('User-Agent') %}<a id="fwscan" href="#" class="ui-disabled" data-role="button" data-inline="true" data-mini="true" data-corners="false" data-theme="e">{{_t('二维码扫描', 'Scan Qrcode')}}</a>{% endif %}
                    <div id="fwtitle">{{ _t('产品防伪查询', 'Product Authentication')}}:</div>
                    <input id="fwcode" placeholder="{{_t('在此输入产品上的防伪码', 'Please input the security code')}}"{% if fwcode %} value="{{fwcode}}"{% endif %}>
                    <a href="#" id="fwbutton" data-role="button">{{_t('马上查询', 'Verify Now')}}</a>
                    <div id="fwresult" class="ui-bar-c ui-corner-all" style="padding:10px;display:none;color:red;">
                    </div>
                    <a href="#" id="fwtojfbutton" data-theme="e" data-role="button" style="display:none;">获取积分</a>
                </div>
                <div class='qr_display'>                
                    <img src="/static/images/wx_qr_430.jpg">{{_t('点击长按扫码', 'Scan Qrcode')}}<br/>{{_t('关注微信公众号', 'Follow Us in Wechat')}}
                </div>
            </div>
            <div data-role="popup" class="popupqr" data-overlay-theme="a" data-theme="d" data-corners="false"><a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Close</a><img class="popphoto" src="/static/images/wx_qr_430.jpg"></div>             
            <footer data-role="footer" data-position="fixed"><h3><small>©2020 {{_t('AGM 英宝玩具', 'Top-Racer')}}</small></h3></footer>
        </section>           
    {% endblock %}